
//------------------------------------------------------------------------------

namespace Apps.Models
{
     using System.ComponentModel.DataAnnotations.Schema;
    using System;
    using System.Collections.Generic;

    [Table("SPL_WAREHOUSEWARRANT")]
    public partial class Spl_WarehouseWarrant
    {
        public Spl_WarehouseWarrant()
        {
            this.Spl_WarehouseWarrantDetails = new HashSet<Spl_WarehouseWarrantDetails>();
        }

        [Column("ID"), System.ComponentModel.DataAnnotations.Key]
        public string Id { get; set; }
        [Column("INTIME")]
        public System.DateTime InTime { get; set; }
        [Column("HANDLER")]
        public string Handler { get; set; }
        [Column("REMARK")]
        public string Remark { get; set; }
        [Column("PRICETOTAL")]
        public decimal PriceTotal { get; set; }
        [Column("STATE")]
        public int State { get; set; }
        [Column("CHECKER")]
        public string Checker { get; set; }
        [Column("CHECKTIME")]
        public Nullable<System.DateTime> CheckTime { get; set; }
        [Column("CREATETIME")]
        public System.DateTime CreateTime { get; set; }
        [Column("CREATEPERSON")]
        public string CreatePerson { get; set; }
        [Column("MODIFYTIME")]
        public Nullable<System.DateTime> ModifyTime { get; set; }
        [Column("MODIFYPERSON")]
        public string ModifyPerson { get; set; }
        [Column("CONFIRMATION")]
        public bool Confirmation { get; set; }
        [Column("INOUTCATEGORYID")]
        public string InOutCategoryId { get; set; }
        [Column("WAREHOUSEID")]
        public string WarehouseId { get; set; }

        public virtual Spl_InOutCategory Spl_InOutCategory { get; set; }
        public virtual Spl_Warehouse Spl_Warehouse { get; set; }
        public virtual ICollection<Spl_WarehouseWarrantDetails> Spl_WarehouseWarrantDetails { get; set; }
    }
}
